package com.diy.sigmund.diycommon.test.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 做参数校验拦截器的测试对象
 *
 * @author ylm-sigmund
 * @since 2021/6/26 21:43
 */
public class FormDataDTO {

    private Integer id;
    private String name;
    private String phone;
    private String email;
    private String idCard;

    private Boolean aBoolean;

    private Integer minInteger;
    private Integer maxInteger;
    private Integer betweenInteger;

    private BigDecimal minBigDecimal;
    private BigDecimal maxBigDecimal;
    private BigDecimal betweenBigDecimal;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pastDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date futureDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date betweenDate;

    private String pattern;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Boolean getaBoolean() {
        return aBoolean;
    }

    public void setaBoolean(Boolean aBoolean) {
        this.aBoolean = aBoolean;
    }

    public Integer getMinInteger() {
        return minInteger;
    }

    public void setMinInteger(Integer minInteger) {
        this.minInteger = minInteger;
    }

    public Integer getMaxInteger() {
        return maxInteger;
    }

    public void setMaxInteger(Integer maxInteger) {
        this.maxInteger = maxInteger;
    }

    public Integer getBetweenInteger() {
        return betweenInteger;
    }

    public void setBetweenInteger(Integer betweenInteger) {
        this.betweenInteger = betweenInteger;
    }

    public BigDecimal getMinBigDecimal() {
        return minBigDecimal;
    }

    public void setMinBigDecimal(BigDecimal minBigDecimal) {
        this.minBigDecimal = minBigDecimal;
    }

    public BigDecimal getMaxBigDecimal() {
        return maxBigDecimal;
    }

    public void setMaxBigDecimal(BigDecimal maxBigDecimal) {
        this.maxBigDecimal = maxBigDecimal;
    }

    public BigDecimal getBetweenBigDecimal() {
        return betweenBigDecimal;
    }

    public void setBetweenBigDecimal(BigDecimal betweenBigDecimal) {
        this.betweenBigDecimal = betweenBigDecimal;
    }

    public Date getPastDate() {
        return pastDate;
    }

    public void setPastDate(Date pastDate) {
        this.pastDate = pastDate;
    }

    public Date getFutureDate() {
        return futureDate;
    }

    public void setFutureDate(Date futureDate) {
        this.futureDate = futureDate;
    }

    public Date getBetweenDate() {
        return betweenDate;
    }

    public void setBetweenDate(Date betweenDate) {
        this.betweenDate = betweenDate;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }
}
